package com.log.james.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.Map;

@Mapper
public interface DestIpAnalysisDao {
    /**
     * 根据开始时间找到该条数据
     * @param startTime
     * @return
     */
    @Select("select * from destipanalysis where starttime = #{st} and destip = #{destip}")
    Map<String,Object> getIpAbnormalDetails(@Param("st") Date startTime,@Param("destip") Long destip);
}
